//搜索商品

module.exports = (req, res) => {
    // console.log(req.body);
    model.Order.find({
        id: req.body.ipt
    }).then(result => {
        console.log(result);
        res.send({
            code: "200",
            status: "405",
            msg: "订单查询成功",
            order:result
        })
    }).catch(() => {
        res.send({
            code: "200",
            status: "406",
            msg: "订单查询失败"
        })
    })
}